FROM openjdk:8-jdk-alpine
ADD /target/liwuji-redis-docker-0.0.1-SNAPSHOT.jar  /liwuji-redis-docker-0.0.1-SNAPSHOT.jar
EXPOSE 8080
ENV TZ=GMT+8
RUN apk add --no-cache bash
VOLUME /logs
ENTRYPOINT ["java","-jar","/liwuji-redis-docker-0.0.1-SNAPSHOT.jar"]
